package com.sac.approval.service;

import com.sac.approval.domain.LineDO;
import com.sac.approval.domain.LineDetailDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-09-18 14:37:46
 */
public interface LineDetailService {
	
	LineDetailDO get(Integer lineDetailId);
	
	List<LineDetailDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(LineDetailDO lineDetail);

	int batchSave(LineDetailDO[] lineDetails);

	int update(LineDetailDO lineDetail);
	
	int updateByLineId(LineDO line, List<LineDetailDO> LineDetail);

	int saveNewLine(LineDO line, List<LineDetailDO> LineDetail);
	
	int remove(Integer lineDetailId);
	
	int batchRemove(Integer[] lineDetailIds);
}
